import request from "@/service";
import type {infoType} from '@/components/type/type';

export const getInfo = () => {
  return new Promise<infoType>((resolve) => {
    setTimeout(() => {
      resolve(request.get("http://localhost:8448/data/backData.json"));
    }, 2000);
  });
};
